import { request } from "@/utils/request";

interface PageInterface {
  refresh?: boolean;
  cursor?: any;
}

export class FindService {
  // 首页-发现
  static async getPage(data: PageInterface) {
    return request(`/homepage/block/page`, {
      method: "GET",
      data
    })
  }

  // 首页-发现-圆形图标入口列表
  static async getBall() {
    return request(`/homepage/dragon/ball`, {
      method: "GET",
    })
  }
}